Skip to content

fix: resolve CI build failures, YAML validation error, and Node.js 20 deprecation#6

Merged
Mutigen merged 2 commits intomainfrom
copilot/check-actions-bundle-issues
Apr 9, 2026
Merged

fix: resolve CI build failures, YAML validation error, and Node.js 20 deprecation#6
Mutigen merged 2 commits intomainfrom
copilot/check-actions-bundle-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 9, 2026

Summary

CI on main is broken across all three validation steps (build, type-check, validate:packs). Root cause: the mempalaceProjectIndexed field was added to ProjectContextSchema and used in mcp-gateway without updating test fixtures or the condition enum.

Changes

  • Add missing mempalaceProjectIndexed: false to test fixtures in policy-service, memory-service, orchestrator, mcp-gateway
  • Add 'if_project_not_indexed' to BootstrapStepSchema.condition enum — was used in mcp-gateway but never declared in shared-types
  • Fix YAML parse error in packs/quality/packforge-memory.yaml — unquoted colons in "PROBLEM: X | ROOT_CAUSE: Y | FIX: Z | AFFECTED: file" broke js-yaml; wrapped with >- block scalar
  • Update CI matrix [20, 22][22, 24]; add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to CI and Release workflows (Node.js 20 Actions runtime deprecated June 2, 2026)

Testing

  • npm run ci passes
  • Pack validation passes (npm run validate:packs)
  • npx turbo build --force — 10/10 packages
  • npx turbo type-check --force — 17/17 tasks
  • npx turbo test --force — 15/15 tasks

Related Issues

- Add missing mempalaceProjectIndexed property to test fixtures in
  policy-service, memory-service, orchestrator, and mcp-gateway
- Add 'if_project_not_indexed' to BootstrapStepSchema condition enum
  (was used in mcp-gateway but not declared in shared-types)
- Fix YAML parsing error in packforge-memory.yaml by wrapping long
  constraint text with >- block scalar to avoid unquoted colons
- Update CI matrix from Node.js [20,22] to [22,24] and opt into
  Node.js 24 Actions runtime (Node.js 20 deprecated June 2, 2026)

Agent-Logs-Url: https://github.com/Mutigen/packforge/sessions/7381d250-d15c-413a-9fd6-21b54f4defa4
Copilot AI changed the title [WIP] Check and fix issues in Actions bundle fix: resolve CI build failures, YAML validation error, and Node.js 20 deprecation Apr 9, 2026
Copilot AI requested a review from Mutigen April 9, 2026 13:29
@Mutigen Mutigen merged commit c3e9956 into main Apr 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants